<?php  
header('Pragma: no-cache');  // on empéche la mise en cache navigateur pour les skin soit utilisable
header('Expires: 0');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-cache, must-revalidate');

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="description" content="Explications informatiques - articles et lexique informatique. Rejoingnez dés à présent la communauté et participer au contenu du site!" />
<?php include_http_metas();?>
<?php include_metas() ?>
<?php include_title() ?>
<link rel="shortcut icon" href="/favicon.ico" />
<?php include_stylesheets() ?>
<?php if ($sf_user->hasAttribute("skin_selected")):?>
<link rel="stylesheet" type="text/css" href="/css/themes/<?php echo $sf_user->getAttribute("skin_selected") ?>/theme.css" />
<?php endif;?>
<div id="fb-root"></div>
<script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) return;
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/fr_FR/all.js#xfbml=1&appId=225967957482990";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'facebook-jssdk'));</script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-18161227-2']);
  _gaq.push(['_setDomainName', 'explications-informatiques.fr']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<?php include_javascripts() ?>
<link href="https://plus.google.com/103353592612567969180" rel="publisher" />
<meta property="og:title" content="<?php echo $this->getModuleName() ?>" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="<?php echo public_path("", true) ?>" />
<meta property="fb:admins" content="680260469" />
<meta http-equiv="CACHE-CONTROL" content="public">
<link rel="alternate" type="application/rss+xml" title="Flux RSS des derniers articles publiés" href="<?php echo url_for("article/rss") ?>" />
<link rel="alternate" type="application/atom+xml" title="Flux Atom des derniers articles publiés" href="<?php echo url_for("article/atom") ?>" />
<link rel="alternate" type="application/rss+xml" title="Flux RSS des derniers mots ajoutés au lexique" href="<?php echo url_for("lexique/rss") ?>" />
<link rel="alternate" type="application/atom+xml" title="Flux Atom des derniers mots ajoutés au lexique" href="<?php echo url_for("lexique/atom") ?>" />
</head><body>
<div align="center">
  <ul class="main_bloc">
    <li class="menu_top theme_color_gradient"> <a href="<?php echo url_for("@homepage") ?>">
      <div class="global_for_logo_no_bulle"></div>
      </a>
      <ul>
        <li class="title"> Explications Informatiques </li>
        <li class="inline user_info">
          <?php  if($sf_user->isAuthenticated()):?>
          Bonjour <?php echo $sf_user->getGuardUser()->getUserName() ?> (<a href="<?php echo url_for("@sf_guard_signout") ?>" class="header_link">Déconnexion</a>) <?php echo get_component('headers', 'newmp', array("sf_cache_key" => $sf_user->getGuardUser()->getId())) ?>
          <?php endif;?>
        </li>
        <li class="social"> <a href="<?php echo url_for("article/rss") ?>"><?php echo image_tag("skins/rss.png", array("width" => 25,"height" => 25, "alt" => "rss")) ?></a> <a target="_blank" href="http://facebook.com/pages/Explications-Informatiques/324052347618013"><?php echo image_tag("skins/lfacebook.png", array("width" => 25,"height" => 25, "alt" => "fb")) ?></a> <a target="_blank" href="https://twitter.com/share" data-url="http://explications-informatiques.fr"><?php echo image_tag("skins/twiter.png", array("width" => 25,"height" => 25, "alt" => "twit")) ?></a> <a href="https://plus.google.com/103353592612567969180?prsrc=3" style="text-decoration:none;"><img src="https://ssl.gstatic.com/images/icons/gplus-32.png" alt="" style="border:0;width:25px;height:25px;"/></a> </li>
      </ul>
    </li>
    <li class="content">
      <?php if($sf_user->hasFlash("info")):?>
      <div class="answer_action info inline"><?php echo $sf_user->getFlash("info"); ?></div>
      <?php elseif($sf_user->hasFlash("err")):?>
      <div class="answer_action err inline"><?php echo $sf_user->getFlash("err"); ?></div>
      <?php else:?>
      <div style="width:35%" class="inline"> </div>
      <?php endif;?>
      <div class="search inline" align="right"> </div>
      <table>
        <tr>
          <td class="left_menu"><ul>
              <li class="category theme_color_gradient"> Recherche </li>
              <li class="menu">
                <form action="<?php echo url_for("search/article") ?>" method="post">
                  <input type="text" name="words" class='master_search inline' style="width:80%;" AUTOCOMPLETE=OFF/>
                  <input name="submit" type="image" value="envoyer" src="<?php echo url_for("/images/Icons/layout/search.png") ?>" align="top" width="22" height="22" hspace="2" vspace="2" style="border:0px" />
                </form>
              </li>
              <?php if(!$sf_user->isAuthenticated()):?>
              <li><a class="new_account" href="<?php echo url_for('@sf_guard_register') ?>"> <?php echo image_tag("skins/account.png", array("width" => 212,"height" => 30, "alt" => "inscrivez-vous")) ?></a></li>
              <li class="category theme_color_gradient"> Connexion </li>
              <li class="menu"> <?php echo get_component('sfGuardAuth', 'signin_form');?></li>
              <?php endif;?>
              <li class="category theme_color_gradient"> Menu général </li>
              <li class="menu"> <a class="link_menu" href="<?php echo url_for("@homepage") ?>">Accueil</a> <a class="link_menu" href="<?php echo url_for("article/index") ?>">Les articles</a> <a class="link_menu" href="<?php echo url_for("lexique/index") ?>">Le lexique</a> <a class="link_menu" href="<?php echo url_for("contact/index") ?>">Nous contacter</a> <a class="link_menu" href="<?php echo url_for("partenaire/index") ?>">Nos partenaires</a> </li>
              <?php if($sf_user->isAuthenticated()):?>
              <li class="category theme_color_gradient"> Menu utilisateur </li>
              <li class="menu"> <a class="link_menu" href="<?php echo url_for("compte/index") ?>">Récapitulatif</a> <a class="link_menu" href="<?php echo url_for("compte/edit?id=".$sf_user->getGuardUser()->getId()) ?>">Mon profil</a> <a class="link_menu" href="<?php echo url_for("search/favoris") ?>">Mes Favoris</a> <a class="link_menu" href="<?php echo url_for("mp/index") ?>">Mes messages</a> <a class="link_menu" href="<?php echo url_for("mp/new") ?>">Nouveau message</a> <a class="link_menu" href="<?php echo url_for("@sf_guard_reset") ?>">Mot de passe</a> <a class="link_menu" href="<?php echo url_for("point/resume") ?>">Mes points</a> <a class="link_menu" href="<?php echo url_for("point/shop") ?>">Le magasin</a> </li>
              <?php endif;?>
              <li class="category theme_color_gradient"> Documents </li>
              <li class="menu"> <a class="link_menu" href="<?php echo url_for("docs/show?id=2") ?>">Réglement</a> <a class="link_menu" href="<?php echo url_for("docs/show?id=3")?>">Réglement sur les points</a> <a class="link_menu" href="<?php echo url_for("docs/show?id=1")?>">Mentions légales</a> </li>
            </ul>
            <div class="advice"> <span class="block" style="text-decoration:underline">Le saviez vous?</span> <span class="block"><?php echo get_component('headers', 'advice') ?></span> </div>
            <div style="margin-left:15px;margin-top:20px;"> <span class="block" style="margin-bottom:5px">Vous aimez ce site? Aidez le!</span>
              <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
                <input type="hidden" name="cmd" value="_s-xclick">
                <?php if($sf_user->isAuthenticated()): ?>
                <input name="custom" type="hidden" value="<?php echo $sf_user->getGuardUser()->getId() ?>" />
                <?php endif?>
                <input type="hidden" name="hosted_button_id" value="ZM2ENTWJ3PVZ4">
                <input type="image" style="border:0px" src="https://www.paypalobjects.com/WEBSCR-640-20110401-1/fr_FR/FR/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - la solution de paiement en ligne la plus simple et la plus sécurisée !">
                <img alt="" border="0" src="https://www.paypalobjects.com/WEBSCR-640-20110401-1/fr_FR/i/scr/pixel.gif" width="1" height="1">
              </form>
            </div>
            <div align="center" style=" margin-top: 30px"> <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/2.0/fr/"><?php echo image_tag("http://i.creativecommons.org/l/by-nc-sa/2.0/fr/88x31.png", array("width" => 100,"height" => 30, "alt" => "Contrat Creative Commons")) ?></a> </div>
            <div align="center">
              <ul style="width:80%;margin:10px;">
                <li class="inline" style="text-align:center">
                  <div class="fb-like" data-href="http://explications-informatiques.fr" data-send="false" data-layout="box_count" data-show-faces="false" data-font="arial"></div>
                </li>
                <li class="inline" style="text-align:center">
                  <g:plusone size="tall" href="http://explications-informatiques.fr"></g:plusone>
                </li>
                <li class="inline" style="text-align:center"> <a href="https://twitter.com/share" class="twitter-share-button" data-count="vertical"data-lang="en">Tweet</a> </li>
              </ul>
              <?php if(!$sf_user->hasAttribute("NO_PUB")):?>
              <script type="text/javascript">
                        google_ad_client = "ca-pub-1292997123757303";
                        /* menu_gauche */
                        google_ad_slot = "3802278635";
                        google_ad_width = 120;
                        google_ad_height = 240;
                        
                      </script> 
              <script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
              <?php endif;?>
            </div></td>
          <td class="text_content"><?php echo get_component('headers', 'arbo') ?> <?php echo $sf_content ?>
            <?php if(!$sf_user->hasAttribute("NO_PUB")):?>
            <div align="center"> 
              <script type="text/javascript">
						google_ad_client = "ca-pub-1292997123757303";
						/* layout_bas de page */
						google_ad_slot = "7562559237";
						google_ad_width = 468;
						google_ad_height = 15;
						
						</script> 
              <script type="text/javascript"
						src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
					 </script> 
            </div>
            <?php endif;?></td>
        </tr>
      </table>
    </li>
    <li class="footer"> Site déclaré à la CNIL sous le numéro : 1511093. Vous disposez à tout moment d'un droit d'accés et de modifications aux informations vous concernant. </li>
  </ul>
</div>
</body>
</html>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<!-- Place this render call where appropriate -->
<script type="text/javascript">
  window.___gcfg = {lang: 'fr'};

  (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();
</script>